package com.study.talk.module.netty.message.response;

import com.study.talk.module.netty.message.MessageType;
import com.study.talk.module.netty.message.TalkMessage;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SmsSendResponse extends TalkMessage {


    @ApiModelProperty("是否成功")
    private String status;

    @ApiModelProperty("验证码")
    private String code;

    @ApiModelProperty("手机号码")
    private String phoneNumber;

    @ApiModelProperty("用户名")
    private String username;

    @ApiModelProperty("错误信息")
    private String message;

    @Override
    public byte getType() {
        return MessageType.SEND_SMS_RESPONSE;
    }
}
